inherited frmSaleCloudWizard: TfrmSaleCloudWizard
  Left = 339
  Top = 119
  Width = 872
  Height = 606
  BorderIcons = [biSystemMenu, biMaximize]
  Caption = #20113#35746#21333#19979#36733
  PixelsPerInch = 96
  TextHeight = 12
  object rzpnl1: TRzPanel [0]
    Left = 0
    Top = 524
    Width = 864
    Height = 55
    Align = alBottom
    BorderOuter = fsNone
    TabOrder = 1
    DesignSize = (
      864
      55)
    object btnSaleOrder: TcxButton
      Tag = 210
      Left = 312
      Top = 12
      Width = 86
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #29983#25104#38144#21806#35746#21333
      TabOrder = 1
      OnClick = btnSaleOrderClick
      LookAndFeel.Kind = lfUltraFlat
    end
    object btnCancel: TcxButton
      Left = 781
      Top = 12
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Cancel = True
      Caption = #36864#20986
      TabOrder = 3
      OnClick = btnCancelClick
      LookAndFeel.Kind = lfUltraFlat
      OptionsImage.Glyph.Data = {
        36050000424D3605000000000000360400002800000010000000100000000100
        08000000000000010000120B0000120B0000000100000000000000000000FFFF
        FF007FFF000000D559001195D500FFFFFF000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000050505050505
        0500000505050505050505050505050505000400050505050505000000000000
        0000040400000000000505050500030303000404040005050505050505000303
        0200040404000505050505050500020203000404040005050505050505000203
        0200000404000505050505050500030202000004040005050505050505000202
        0200040404000505050505050500030202000404040005050505050505000202
        0200040404000505050505050500020202020004040005050505050505000202
        0202020004000505050505050500020202020202000005050505050505000000
        0000000000000505050505050505050505050505050505050505}
    end
    object btnSale: TcxButton
      Tag = 240
      Left = 407
      Top = 12
      Width = 86
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #29983#25104#38144#21806#24320#21333
      TabOrder = 2
      OnClick = btnSaleOrderClick
      LookAndFeel.Kind = lfUltraFlat
    end
    object btnDownCloudOrder: TcxButton
      Tag = 210
      Left = 7
      Top = 12
      Width = 100
      Height = 25
      Anchors = [akLeft, akBottom]
      Caption = #19979#36733#20113#35746#21333
      TabOrder = 0
      OnClick = btnDownCloudOrderClick
      LookAndFeel.Kind = lfUltraFlat
      OptionsImage.Glyph.Data = {
        8E090000424D8E090000000000003600000028000000170000001A0000000100
        2000000000005809000000000000000000000000000000000000760000FF8509
        01FF800300FF810300FF810300FF810300FF810300FF810300FF810300FF8103
        00FF810300FF810300FF810300FF810300FF810300FF810300FF810300FF8103
        00FF810300FF810300FF840701FF7B0000FF7B0000FFAE4A10FFFFD735FFFCC1
        2FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC2
        2FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC22FFFFDC2
        2FFFFCC12FFFFFD033FFD88620FF780000FFF7B531FFEDA22DFFEDA42DFFEDA4
        2DFFEDA42EFFEDA42EFFEDA42EFFEDA42EFFEDA42EFFEDA42DFFEDA42DFFEDA4
        2DFFEDA42DFFEDA42DFFEDA42EFFEDA42EFFEDA42EFFEDA42DFFEDA42EFFEDA4
        2EFFEDA22DFFFDBE34FFC7711DFFEEA835FFEDA834FFEEA834FFEEA833FFEEA8
        32FFEEA731FFEEA730FFEEA831FFEEA833FFEEA834FFEEA834FFEEA834FFEEA8
        34FFEEA834FFEEA833FFEEA731FFEEA731FFEEA833FFEEA833FFEEA731FFEDA8
        32FFEFA935FFECAD32FFEFAA37FFEFAA37FFEFA935FFEFA830FFEEA833FFEDA8
        36FFEDA938FFEEA933FFEFA830FFEFA933FFEFAA37FFEFAA37FFEFAA37FFEFAA
        35FFEFA731FFEFAA36FFEFA935FFEFA932FFEEA731FFEEA939FFEEAA34FFF1AB
        37FFE6A331FFF1AC3AFFF1AC38FFF0A831FFF0B451FFF4CD8DFFF4D6A4FFF5D6
        A7FFF4D197FFF1BD66FFF1AA37FFF0AB36FFF1AC3AFFF1AC38FFF0A932FFF3BE
        66FFF9DDAEFFF8D9A6FFF3BA5BFFF0B85AFFF5D5A5FFF3C880FFF3AD3AFFE8A3
        31FFF2AE3BFFF1AB33FFF2BC64FFF8E8CCFFFDFEFFFFFFFFFFFFFFFFFFFFFEFF
        FFFFFBF1E2FFF5CC8BFFF0AA33FFF2AD37FFF2AA30FFF3BE68FFFCF1E0FFFCF3
        E4FFFCF5EAFFFFFFFFFFF8E4C3FFFFFFFFFFFBF2E0FFF3B243FFE9A531FFF2AD
        36FFF2B54DFFF9E9D1FFFFFFFFFFFFFFFFFFFEFBF8FFFDF6EBFFFFFFFFFFFFFF
        FFFFFDFAF6FFF3C982FFF1A119FFF2BA5DFFFDF5EAFFF9E8CFFFF3B653FFFAEA
        D1FFFFFFFFFFFDF7EEFFFBE2BAFFF6CC83FFF4B13FFFE9A735FFF3AB31FFF5CD
        8BFFFFFFFFFFFFFFFFFFFBE3BEFFF7BE61FFF6BB59FFF8CE8BFFFDFAF2FFFFFF
        FFFFFDFAF5FFF1B95AFFFCF4E9FFFAEAD1FFF2B44DFFF3AA2FFFF4AC35FFF3AD
        37FFFAEAD1FFF9E1BCFFF2AF43FFF5AE35FFEBA938FFF3AD37FFF9E1B9FFFFFF
        FFFFFDEFDAFFF5B54CFFF3A92DFFF3AB32FFF3AA30FFF9DFB2FFFEFFFFFFFFFF
        FFFFFCF5EAFFFCF0DFFFF2AE3EFFF4AC33FFF4B03FFFF4B140FFF3A72AFFF4C5
        76FFFDFDFBFFF8DDB1FFF5B13FFFECA837FFF3AF3AFFFBE5C4FFFFFFFFFFFBE8
        C7FFF2A828FFF4B13EFFF4B140FFF3AA2EFFF7D296FFFEFDFAFFFFFFFFFFFFFF
        FFFFFAF0DFFFF2B147FFF4AD33FFF4B140FFF4B240FFF3A92EFFF9DDADFFFFFF
        FFFFFDF3E3FFF5B74EFFECA834FFF4AE35FFFADDAEFFFFFFFFFFFCF2E4FFF3B8
        58FFF3A622FFF5AB2FFFF1A72AFFF9E7CAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFF9E8CDFFF2AD3BFFF5A92BFFF5A92AFFF3B145FFF9E9D0FFFFFFFFFFFBED
        D4FFF7B342FFEDA938FFF5AE35FFF9CB82FFFDFFFFFFFFFFFFFFFBF1E3FFF2C2
        74FFEDB150FFF7E2C1FFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFF
        FFFFF9ECD9FFF0B860FFF0B962FFF8E7CAFFFEFFFFFFFFFFFFFFFAD8A0FFF7B0
        39FFEFAA3CFFF5B240FFF5AE33FFF9DDAEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFDFBF6FFF9D69CFFF7CC84FFFDF8ECFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBE9C9FFF5B039FFF7B23DFFEFAD
        3DFFF7B544FFF7B33EFFF7B13DFFFADBA4FFFCF9F0FFFDFEFDFFFFFEFEFFFFFF
        FFFFFEF8F3FFF6BD5DFFF5A824FFF5A928FFF5B13DFFFDF0DCFFFFFFFFFFFFFE
        FFFFFEFEFDFFFDFAF2FFFBE3BEFFF7B546FFF6B13AFFF9B645FFF0AE3DFFF7B5
        45FFF7B546FFF7B23DFFF6AE36FFF8BD5DFFFAD089FFFCF0DCFFFFFFFFFFFBE7
        C3FFF7B03AFFF8B343FFF8B647FFF6AE35FFFAD598FFFEFFFFFFFEF6ECFFF9D4
        97FFF8C061FFF7B13CFFF7B13DFFF7B546FFF8B747FFF1AE3FFFF7B647FFF7B6
        47FFF7B648FFF7B546FFF6AF35FFF7B547FFFCE6C2FFFEFFFFFFF9E8C9FFF6B4
        41FFF7B23FFFF7B543FFF6AF37FFF9D9A3FFFEFFFFFFFDF1DCFFF7BC56FFF6AE
        31FFF7B544FFF7B648FFF6B647FFF9B848FFF1AF40FFF8B74AFFF8B74AFFF8B7
        4AFFF8B84AFFF8B748FFF8B748FFFBDEADFFFFFFFFFFFCFAF8FFF7CE88FFF7B5
        49FFF5B343FFF6C471FFFBF2E2FFFFFFFFFFFCEACBFFF8B848FFF8B646FFF8B8
        4AFFF8B74AFFF8B749FFFAB94BFFF2B144FFFABA4CFFFABA4CFFFABA4CFFFABA
        4CFFFABA4DFFFAB541FFFAC870FFFDF5E4FFFFFFFFFFFDFBF9FFF8DFB5FFF7D9
        A8FFFAF4ECFFFFFFFFFFFEFCF9FFFBD28CFFF9B339FFFABA4DFFFABA4CFFFABA
        4CFFFABA4CFFFBBC4EFFF3B447FFFABC4FFFFABC4FFFFABC4FFFFABC4FFFFABC
        4FFFFABB4EFFFAB845FFFCD48FFFFEF5E6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFEF9F1FFFDDCA6FFFABA4CFFFABA4BFFFABC4FFFFABC4FFFFABC4FFFFABB
        4FFFFCBD51FFF3B549FFFABD52FFFABD52FFFABD52FFFABD52FFFABD52FFFABD
        53FFFABB4DFFFBBC4FFFFBCD7DFFFDE0ADFFFDEBC9FFFDEBCEFFFDE2B3FFFBD2
        88FFFBBE55FFFABB4CFFFABD53FFFABD52FFFABD52FFFABD52FFFABD52FFFCBF
        54FFF4B74CFFFCBF56FFFCBF56FFFCBF56FFFCBF56FFFCBF56FFFCBF56FFFCC0
        56FFFCBF52FFFBBD50FFFBBF54FFFCC462FFFCC465FFFBC056FFFBBD4FFFFCBD
        51FFFCC055FFFCBF56FFFCBF56FFFCBF56FFFCBF56FFFCBF55FFFDC157FFF5B8
        4EFFFCC058FFFCC158FFFCC158FFFCC158FFFCC158FFFCC158FFFCC158FFFDC1
        58FFFCC157FFFCC055FFFCBF53FFFCBF53FFFCC054FFFCC157FFFDC158FFFCC1
        58FFFCC158FFFCC158FFFCC158FFFCC158FFFCC158FFFEC159FFFFC958FFFFD7
        64FFFDC05AFFFDC25AFFFDC25AFFFDC25AFFFDC25AFFFDC05AFFFDC15BFFFDC1
        5BFFFDC15BFFFDC15BFFFDC15BFFFDC15BFFFDC15BFFFDC15BFFFDC15AFFFDC1
        5AFFFDC15AFFFDC15AFFFDC05AFFFDC05AFFFFE067FFD5853BFFB75A2AFFFFFF
        78FFFFE86BFFFFE96CFFFFE96CFFFFE96CFFFFEA6CFFFFEA6CFFFFEA6CFFFFEA
        6CFFFFEA6CFFFFEA6CFFFFEA6CFFFFEA6CFFFFEA6CFFFFEA6CFFFFEA6CFFFFEA
        6CFFFFEA6CFFFFE96CFFFFFA75FFE5A34BFF770000FF750000FF870A04FF8204
        01FF820402FF820402FF820402FF820402FF820402FF820402FF820402FF8204
        02FF820402FF820402FF820402FF820402FF820402FF820402FF820402FF8204
        02FF820401FF860804FF7C0000FF7A0000FF}
    end
    object btnChgPwd: TcxButton
      Tag = 210
      Left = 187
      Top = 12
      Width = 100
      Height = 25
      Anchors = [akLeft, akBottom]
      Caption = #20462#25913#20113#23494#30721
      TabOrder = 4
      OnClick = btnChgPwdClick
      LookAndFeel.Kind = lfUltraFlat
      OptionsImage.Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        18000000000000030000120B0000120B00000000000000000000FFFFFFFFFFFF
        FFFFFFFFFFFFA7A7B142537A9F9FA80000004A758AB6C0C6FBFBFBFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF576B8E86E0FF566B8D56
        8DAAEFFFFF3F9BB1BACDD3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFF5E7A9B83DEFE7BDCFC50799E4AB9CF76FFFF419EB4BBD8E0FFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF567EA283DEFE567EA2D1
        DCE6FFFFFF4AB9CF76FFFF419EB4BBD8E0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFF497CA383DEFE78D4F2497CA3FFFFFFFFFFFF4AB9CF76FFFF419E
        B4BECBCEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4A7EA483DEFE4A7EA4D1
        DEE8FFFFFFFFFFFFFFFFFF4AB9CF76FFFF878787D1D1D1FFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFF4E81A683DEFE5FC5EB4E81A6FFFFFFFFFFFFFFFFFFFFFFFFACAC
        ACFFFFFF717190B9B9E7FFFFFFFFFFFFFAFBFDBED1DE5384A983DEFE58BFE653
        84A9BED1DEFFFFFFFFFFFFFFFFFFFFFFFF9494B67F7FFF3E3ECDFFFFFFF8FAFC
        92B3CA5DAACC84D6F86CCAF051B9E15BBFE84CA2C892B3CAF8FAFCFFFFFFFFFF
        FFCBCBEB5050F8BFBFF5FFFFFFB4CDDE6DBDDE9BF0FF89DEFF60BEE73EAAD63F
        BAEC5AD7FF54B2DBB4CDDEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7AA9C9
        A2F6FFA1F6FF9FF4FF8BE5FF79DBFA79E1FF7BEBFF67E1FF7AA9C9FFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFF6DA6CBA9FEFF4987AD507EA3507EA3507EA350
        7EA34986AC69E7FF6DA6CBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8EBDDC
        97EDFF57A0C8839EB8E7ECF2E7ECF2839EB83A97C471DEFF8EBDDCFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF65BBE3A4F9FF4D90B9345D85345A8431
        82AE74E5FF61B9E2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        B3D7EE69C0E98DE5FF90EAFF7FDEFE7BDAFE66BEE8B3D7EEFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF96CAEB7CBDE67CBDE696
        CAEBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
    end
  end
  object rzpgcntrl1: TRzPageControl [1]
    Left = 0
    Top = 0
    Width = 864
    Height = 524
    ActivePage = tbsFirst
    Align = alClient
    ParentColor = False
    TabIndex = 0
    TabOrder = 0
    FixedDimension = 18
    object tbsFirst: TRzTabSheet
      Caption = '    '#31532#19968#27493#12289#19979#36733#35746#21333
      object edtFocus: TcxTextEdit
        Left = 60
        Top = 227
        TabOrder = 1
        Text = 'edtFocus'
        Width = 121
      end
      object grdProduct: TcxGrid
        Left = 0
        Top = 168
        Width = 860
        Height = 334
        Align = alClient
        TabOrder = 0
        object ProductView: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          OnFocusedItemChanged = ProductViewFocusedItemChanged
          OnFocusedRecordChanged = ProductViewFocusedRecordChanged
          DataController.DataModeController.GridMode = True
          DataController.DataSource = ds_selproduct
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.FocusFirstCellOnNewRecord = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsData.Appending = True
          OptionsView.ScrollBars = ssVertical
          OptionsView.ColumnAutoWidth = True
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          Styles.Background = MainDM.bslBackGroup
          Styles.ContentEven = MainDM.bsEven
          Styles.ContentOdd = MainDM.bsOdd
          Styles.Selection = MainDM.bsSelect
          Styles.Footer = MainDM.bsTitle
          Styles.GroupByBox = MainDM.bsTitle
          Styles.Header = MainDM.bsTitle
          OnCustomDrawIndicatorCell = ProductViewCustomDrawIndicatorCell
          OnLeftPosChanged = ProductViewLeftPosChanged
          object ProductViewColumn1: TcxGridDBColumn
            Caption = #23458#25143#36135#21697#26465#30721
            DataBinding.FieldName = 'pbarcode'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object ProductViewcode: TcxGridDBColumn
            Caption = #23458#25143#36135#21697#32534#30721
            DataBinding.FieldName = 'pcode'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object ProductViewname: TcxGridDBColumn
            Caption = #23458#25143#36135#21697#21517#31216
            DataBinding.FieldName = 'pname'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object ProductViewpspec: TcxGridDBColumn
            Caption = #23458#25143#36135#21697#35268#26684
            DataBinding.FieldName = 'pspec'
            HeaderAlignmentHorz = taCenter
            Width = 60
          end
          object ProductViewpunitname: TcxGridDBColumn
            Caption = #23458#25143#36135#21697#21333#20301
            DataBinding.FieldName = 'punitname'
            HeaderAlignmentHorz = taCenter
            Width = 45
          end
          object ProductViewproductid: TcxGridDBColumn
            Caption = #36135#21697#21517#31216
            DataBinding.FieldName = 'productid'
            HeaderAlignmentHorz = taCenter
            Width = 80
          end
          object ProductViewunitname: TcxGridDBColumn
            Caption = #21333#20301
            DataBinding.FieldName = 'unitname'
            PropertiesClassName = 'TcxComboBoxProperties'
            OnGetPropertiesForEdit = ProductViewunitnameGetPropertiesForEdit
            HeaderAlignmentHorz = taCenter
            Width = 45
          end
          object ProductViewquantity: TcxGridDBColumn
            Caption = #25968#37327
            DataBinding.FieldName = 'quantity'
            HeaderAlignmentHorz = taCenter
            Width = 80
          end
          object ProductViewexplan: TcxGridDBColumn
            Caption = #35828#26126
            DataBinding.FieldName = 'explan'
            HeaderAlignmentHorz = taCenter
            Width = 100
          end
        end
        object ProductLevel: TcxGridLevel
          GridView = ProductView
        end
      end
      object Panel2: TPanel
        Left = 0
        Top = 0
        Width = 860
        Height = 160
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 2
        object grdCloud: TcxGrid
          Left = 0
          Top = 0
          Width = 860
          Height = 160
          Align = alClient
          TabOrder = 0
          object viewCloud: TcxGridDBTableView
            Navigator.Buttons.CustomButtons = <>
            DataController.DataModeController.GridMode = True
            DataController.DataSource = MainDataSource
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.AlwaysShowEditor = True
            OptionsBehavior.FocusCellOnTab = True
            OptionsBehavior.FocusFirstCellOnNewRecord = True
            OptionsBehavior.GoToNextCellOnEnter = True
            OptionsBehavior.FocusCellOnCycle = True
            OptionsData.Appending = True
            OptionsView.ScrollBars = ssVertical
            OptionsView.ColumnAutoWidth = True
            OptionsView.GroupByBox = False
            OptionsView.Indicator = True
            OptionsView.IndicatorWidth = 30
            Styles.Background = MainDM.bslBackGroup
            Styles.ContentEven = MainDM.bsEven
            Styles.ContentOdd = MainDM.bsOdd
            Styles.Selection = MainDM.bsSelect
            Styles.Footer = MainDM.bsTitle
            Styles.GroupByBox = MainDM.bsTitle
            Styles.Header = MainDM.bsTitle
            OnCustomDrawIndicatorCell = ProductViewCustomDrawIndicatorCell
            OnLeftPosChanged = viewCloudLeftPosChanged
            object cxGridDBColumn4: TcxGridDBColumn
              Caption = #23458#25143#20113#21517#31216
              DataBinding.FieldName = 'tname'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 100
            end
            object cxGridDBColumn1: TcxGridDBColumn
              Caption = #21333#25454#26085#26399
              DataBinding.FieldName = 'bdate'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 80
            end
            object cxGridDBColumn3: TcxGridDBColumn
              Caption = #21333#21495
              DataBinding.FieldName = 'bcode'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 80
            end
            object cloudTraderid: TcxGridDBColumn
              Caption = #23458#25143#21517#31216
              DataBinding.FieldName = 'traderid'
              PropertiesClassName = 'TcxLookupComboBoxProperties'
              Properties.ListColumns = <>
              Properties.OnCloseUp = cloudTraderidPropertiesCloseUp
              Properties.OnPopup = cloudTraderidPropertiesPopup
              HeaderAlignmentHorz = taCenter
              Width = 100
            end
            object cxGridDBColumn5: TcxGridDBColumn
              Caption = #22791#27880
              DataBinding.FieldName = 'remark'
              HeaderAlignmentHorz = taCenter
              Width = 100
            end
          end
          object lvlCloud: TcxGridLevel
            GridView = viewCloud
          end
        end
      end
      object sptCloud: TcxSplitter
        Left = 0
        Top = 160
        Width = 860
        Height = 8
        Cursor = crVSplit
        HotZoneClassName = 'TcxXPTaskBarStyle'
        AlignSplitter = salTop
        Control = grdProduct
      end
    end
  end
  inherited MainDataSource: TDataSource
    DataSet = MainDataSet
  end
  object ds_selproduct: TDataSource
    DataSet = DetailDataSet
    Left = 640
    Top = 168
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 64
    Top = 273
    PixelsPerInch = 96
    object bsSelect: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clWindow
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clActiveCaption
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      TextColor = clActiveCaption
    end
    object bsNormal: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clWindow
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      TextColor = clDefault
    end
    object bsOdd: TcxStyle
    end
    object bsEven: TcxStyle
    end
    object bsTitle: TcxStyle
    end
  end
  object MainDataSet: TUniQuery
    SQLInsert.Strings = (
      'INSERT INTO tb_salecloud'
      
        '  (oid, bid, bdate, bcode, bstate, bkind, tname, traderid, money' +
        'id, exchrate, relationcount, remark)'
      'VALUES'
      
        '  (:oid, :bid, :bdate, :bcode, :bstate, :bkind, :tname, :traderi' +
        'd, :moneyid, :exchrate, :relationcount, :remark)')
    SQLDelete.Strings = (
      'DELETE FROM tb_salecloud'
      'WHERE'
      '  oid = :Old_oid')
    SQLUpdate.Strings = (
      'UPDATE tb_salecloud'
      'SET'
      
        '  oid = :oid, bid = :bid, bdate = :bdate, bcode = :bcode, bstate' +
        ' = :bstate, bkind = :bkind, tname = :tname, traderid = :traderid' +
        ', moneyid = :moneyid, exchrate = :exchrate, relationcount = :rel' +
        'ationcount, remark = :remark'
      'WHERE'
      '  oid = :Old_oid')
    SQLLock.Strings = (
      'SELECT * FROM tb_salecloud'
      'WITH (UPDLOCK, ROWLOCK, HOLDLOCK)'
      'WHERE'
      '  oid = :Old_oid')
    SQLRefresh.Strings = (
      
        'SELECT oid, bid, bdate, bcode, bstate, bkind, tname, traderid, m' +
        'oneyid, exchrate, relationcount, remark FROM tb_salecloud'
      'WHERE'
      '  oid = :Old_oid')
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from tb_salecloud where relationcount=0')
    CachedUpdates = True
    Options.PrepareUpdateSQL = True
    Options.SetFieldsReadOnly = False
    Options.AutoPrepare = True
    AfterScroll = MainDataSetAfterScroll
    Left = 37
    Top = 167
  end
  object DetailDataSet: TUniQuery
    UpdatingTable = 'tb_saleclouddtl'
    SQLInsert.Strings = (
      'INSERT INTO tb_saleclouddtl'
      
        '  (oid, bid, bno, borderno, productid, unitid, pcode, pname, psp' +
        'ec, pbarcode, punitname, quantity, price, cprice, bprice, bquant' +
        'ity, unit1qty, unit2qty, unit3qty, length, width, height, custom' +
        '1, custom2, custom3, custom4, custom5, custom6, custom7, custom8' +
        ', custom9, custom10, custom11, custom12, custom13, custom14, cus' +
        'tom15, explan)'
      'VALUES'
      
        '  (:oid, :bid, :bno, :borderno, :productid, :unitid, :pcode, :pn' +
        'ame, :pspec, :pbarcode, :punitname, :quantity, :price, :cprice, ' +
        ':bprice, :bquantity, :unit1qty, :unit2qty, :unit3qty, :length, :' +
        'width, :height, :custom1, :custom2, :custom3, :custom4, :custom5' +
        ', :custom6, :custom7, :custom8, :custom9, :custom10, :custom11, ' +
        ':custom12, :custom13, :custom14, :custom15, :explan)')
    SQLDelete.Strings = (
      'DELETE FROM tb_saleclouddtl'
      'WHERE'
      '  oid = :Old_oid')
    SQLUpdate.Strings = (
      'UPDATE tb_saleclouddtl'
      'SET'
      
        '  oid = :oid, bid = :bid, bno = :bno, borderno = :borderno, prod' +
        'uctid = :productid, unitid = :unitid, pcode = :pcode, pname = :p' +
        'name, pspec = :pspec, pbarcode = :pbarcode, punitname = :punitna' +
        'me, quantity = :quantity, price = :price, cprice = :cprice, bpri' +
        'ce = :bprice, bquantity = :bquantity, unit1qty = :unit1qty, unit' +
        '2qty = :unit2qty, unit3qty = :unit3qty, length = :length, width ' +
        '= :width, height = :height, custom1 = :custom1, custom2 = :custo' +
        'm2, custom3 = :custom3, custom4 = :custom4, custom5 = :custom5, ' +
        'custom6 = :custom6, custom7 = :custom7, custom8 = :custom8, cust' +
        'om9 = :custom9, custom10 = :custom10, custom11 = :custom11, cust' +
        'om12 = :custom12, custom13 = :custom13, custom14 = :custom14, cu' +
        'stom15 = :custom15, explan = :explan'
      'WHERE'
      '  oid = :Old_oid')
    SQLLock.Strings = (
      'SELECT * FROM tb_saleclouddtl'
      'WITH (UPDLOCK, ROWLOCK, HOLDLOCK)'
      'WHERE'
      '  oid = :Old_oid')
    SQLRefresh.Strings = (
      
        'SELECT oid, bid, bno, borderno, productid, unitid, pcode, pname,' +
        ' pspec, pbarcode, punitname, quantity, price, cprice, bprice, bq' +
        'uantity, unit1qty, unit2qty, unit3qty, length, width, height, cu' +
        'stom1, custom2, custom3, custom4, custom5, custom6, custom7, cus' +
        'tom8, custom9, custom10, custom11, custom12, custom13, custom14,' +
        ' custom15, explan FROM tb_saleclouddtl'
      'WHERE'
      '  oid = :Old_oid')
    Connection = MainDM.UniConn
    SQL.Strings = (
      
        'select d.*,u.unitname from tb_saleclouddtl d,td_unitprice u wher' +
        'e oid=:oid and d.unitid=u.unitid')
    CachedUpdates = True
    Options.PrepareUpdateSQL = True
    Options.SetFieldsReadOnly = False
    Options.AutoPrepare = True
    Left = 549
    Top = 227
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'oid'
      end>
  end
  object qryTraderProduct: TUniQuery
    Connection = MainDM.UniConn
    Left = 45
    Top = 423
  end
end
